<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>模态框</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- ，Bootstrap 是移动设备优先的 为了确保适当的绘制和触屏缩放，需要在 <head> 之中添加 viewport 元数据标签。 -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->

    <!-- Bootstrap -->
    <link href="./dist/css/bootstrap.min.css" rel="stylesheet">
    <script src="./dist/js/jquery-1.11.3.min.js"></script>
    <script src="./dist/js/bootstrap.min.js"></script>
</head>
<body>
	<div class="container">
		<!-- Button trigger modal -->
		<button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">
		  点我点我
		</button>

		<!-- Modal -->
		<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
		  <div class="modal-dialog" role="document">
		    <div class="modal-content">
		      <div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
		        <h4 class="modal-title" id="myModalLabel">添加地址</h4>
		      </div>
		      <div class="modal-body">
		     		<form>
		     		  <div class="form-group">
		     		    <label for="exampleInputEmail1">Email address</label>
		     		    <input type="email" class="form-control" id="exampleInputEmail1" placeholder="Email">
		     		  </div>
		     		  <div class="form-group">
		     		    <label for="exampleInputPassword1">Password</label>
		     		    <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
		     		  </div>
		     		  <div class="form-group">
		     		    <label for="exampleInputFile">File input</label>
		     		    <input type="file" id="exampleInputFile">
		     		    <p class="help-block">Example block-level help text here.</p>
		     		  </div>
		     		  <div class="checkbox">
		     		    <label>
		     		      <input type="checkbox"> Check me out
		     		    </label>
		     		  </div>
		     		  <button type="submit" class="btn btn-default">Submit</button>
		     		</form>
		      </div>
		      <div class="modal-footer">
		        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
		        <button type="button" class="btn btn-primary">Save changes</button>
		      </div>
		    </div>
		  </div>
		</div>
	</div>
</body>
</html>